package mysql

import "gorm.io/gorm"

type Goods struct {
	gorm.Model
	GoodsName        string  `gorm:"type:varchar(20) not null" json:"goods_name"`
	GoodsCate        string  `gorm:"type:varchar(20) not null" json:"goods_cate"`
	GoodsSalesVolume int64   `gorm:"type:int(11) default 0" json:"goods_sales_volume"`
	GoodsPrice       float64 `gorm:"type:decimal(10,2) not null" json:"goods_price"`
}
